<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script language='JavaScript' src='http://127.0.0.1/cuo/Common/Js/Base.js'></script> 
<script language='JavaScript' src='http://127.0.0.1/cuo/Common/Js/prototype.js'></script> 
<script language='JavaScript' src='http://127.0.0.1/cuo/Common/Js/mootools.js'></script> 
<script language='JavaScript' src='http://127.0.0.1/cuo/Common/Js/Ajax/ThinkAjax.js'></script> 
<script language='JavaScript' src='http://127.0.0.1/cuo/Common/Js/Form/CheckForm.js'></script>  

</head>
<body>

<SCRIPT LANGUAGE="JavaScript">
 <!--
	function test(){
		ThinkAjax.sendForm('form1','/cuo/index.php/Test/haha',complete,'result');
	}

	function complete(){
		'<div id="result">'+$vo+'</div>';
	}	
	function test123(){
		ThinkAjax.send('/cuo/index.php/Test/haha','ajax='+$vo,'','result');
	}
	
 //-->
 </SCRIPT>
 
<form id="form1" name="form1" method="post" action="">
  <label>
  <input type="text" name="textfield" id="textfield" />
  </label>
  <label>
  <input type="submit" name="button" id="button" value="提交"  onclick="test()"/>
  </label>
</form>


</body>
</html>